#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>
#include<string.h>
int main() {
	/*int m[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 };
	int(*p)[4] = (int(*)[4])m;
	printf("%d", p[1][2]);
	return 0;*/
	char p1[15] = "abcd", * p2 = "ABCD", str[50] = "xyz";

	printf("%s\n", strcat(p1+1 , p2 ));
	strcpy(str + 2, strcat(p1 + 2, p2 + 1));
	printf("%s", str);
	return 0; 
}